﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Navigation;
using CUWo.Common;
using Microsoft.Phone.Controls;
using Microsoft.Phone.Shell;

namespace CUWo.App.WoControls
{
    public partial class WoTrackPackage : UserControl
    {
        public WoTrackPackage()
        {
            InitializeComponent();
        }

        private void Image_Tap(object sender, System.Windows.Input.GestureEventArgs e)
        {
            if (!(Application.Current.RootVisual is PhoneApplicationFrame))
            {
                return;
            }
            ((PhoneApplicationFrame)Application.Current.RootVisual).Navigate(new Uri("/Views/TrackDayTrend.xaml", UriKind.Relative));
        }

        
    }
}
